(function(){
    'use strict';
    angular.module('module.business')
        .controller('DetailRectificationInformationController', DetailRectificationInformationController);

    DetailRectificationInformationController.$inject= ['$scope','$uibModalInstance'];

    function DetailRectificationInformationController($scope,$uibModalInstance) {
        var vm = $scope;
        vm.ok = ok;                                     //点击'是'按钮时执行
        vm.cancel = cancel;                             //点击'否'按钮时执行

        return vm;




        /**
         * @description 点击'是'按钮时执行
         */
        function ok() {
            $uibModalInstance.close(selected);
        }

        /**
         * @description 点击'否'按钮时执行
         */
        function cancel() {
            $uibModalInstance.dismiss('cancel');
        }
    }
})();